<div class="m-container" ng-controller="accountController">
    <div class="m-account">
        <ul class="accountHead dfr aic">
            <li class="nav dfc aic jsc">
                <span class="c798 ls2">收入</span>
                <div class="f26 cmain"><span class="f12 fwb">￥</span>{{income?income:0}}</div>
            </li>
            <div class="border"></div>
            <li class="nav  dfc aic jsc">
                <span class="c798 ls2">支出</span>
                <div class="f26 fwb cred4"><span class="f12 fwb">￥</span>{{expense?expense:0}}</div>
            </li>
        </ul>
        <div class="account">
            <div class="cbff w100">
                <li class="timeLi dfr aic jssb">
                    <span class="c798 ls1">账单</span>
                    <div class="c798">
                        <time class="c798" id="starPicker">{{starTime | date:'yyyy-MM-dd'}}</time>
                        &nbsp;至&nbsp;
                        <time class="c798" id="endPicker">{{endTime | date:'yyyy-MM-dd'}}</time>
                    </div>
                    <span class="cmain ls1" ng-click="resetAccount()">完成</span>
                </li>
            </div>

            <ul class="accountUl" scroll-down2>
                <div class="cbff">
                        <li ng-repeat="item in accountList" class="itemLi dfr aic jssb">
                                <div class="dfc aic jsc">
                                    <span class="f16 c798 ls1 title">{{item.type}}</span>
                                    <time class="c798 f12">{{item.payTime | date:'yyyy-MM-dd'}}</time>
                                </div>
                                <div class="f20 {{item.typeId==0 || item.typeId==3?'cred4':'cmain'}}">{{item.amount}}</div>
                            </li>
                </div>
                <div class="nodata" ng-show="accountList&&accountList.length==0">暂无收支记录</div>
            </ul>
        </div>

    </div>
</div>